import BeeScene from './scenes/beeScene';
import Application from './application/Application';
console.log(1);
const scene = new BeeScene();
scene.on('ready', () => {
    // 加载完成回掉
    console.log('ready, 加载');
    // scene.setBgColor('#ff00ff');
})
window.app = new Application({
    dom: document.getElementById('warp'),
    scene: scene
});

window.addEventListener('resize', () => {
    window.app.resize(window.innerWidth, window.innerHeight);
});
